/*
 * Network.h
 *
 *  Created on: 05/06/2011
 *      Author: godinho
 */

#ifndef LOCALVIEW_H_
#define LOCALVIEW_H_

#include <localview/Node.h>
#include <vector>

namespace localview {

class Network;

class LocalView {
public:
	LocalView(std::string nodeId, Network* net);
	virtual ~LocalView();

	/**
	 * Return network object
	 *
	 * @return reference to network
	 */
	Network* getNetwork();

	/**
	 * Return TLS id
	 *
	 * @return a string that identify the controlled junction
	 */
	std::string getTLSId();

private:

	/**
	 * Current node data.
	 */
	Network* mNetwork;

	std::string mTLSId;
};

}

#endif /* LOCALVIEW_H_ */
